package com.zm.campus.dao;

import com.zm.campus.pojo.TreeHole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zm.campus.query.TreeHoleQuery;
import com.zm.campus.vo.TreeHoleNewComent;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zm
 */
public interface TreeHoleMapper extends BaseMapper<TreeHole> {

    //获取所有树洞列表
    List<TreeHole> getAllTreeHole(TreeHoleQuery treeHoleQuery);

    TreeHoleNewComent getNewCommentByUid(String userId);

    List<TreeHoleNewComent> queryTHByUid(String userId);
}
